package com.ht.WeNas.config.data;

import lombok.Getter;

@Getter
public enum CacheNameEnum {
    User_By_Id(":user_by_id"),
    User_By_Name(":user_by_name"),
    FB_info(":fb_info"),
    FB_blacklist_By_Id(":fb_blacklist_id"),
    FB_blacklist_By_Uid(":fb_blacklist_uid"),
    FB_exclude(":fb_exclude"),
    SysInfoMemory(":sysInfo_memory"),
    SysInfoCpu(":sysInfo_cpu"),
    SysInfoProcessor(":sysInfo_processor"),
    SysInfoDisk(":sysInfo_disk"),
    SysInfoUsb(":sysInfo_usb"),
    ;

    private final String name;
    private final String keyPrefix = "cache:wenas";
    private final String suffix;

    CacheNameEnum(String suffix) {
        this.suffix = suffix;
        this.name = keyPrefix + suffix;
    }
}
